<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-travel_id" class="control-label col-xs-12 col-sm-2">{:__('Travel_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-travel_id" data-rule="required" data-source="travel/index" class="form-control selectpage" name="row[travel_id]" type="text" value="{$row.travel_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-member_id" class="control-label col-xs-12 col-sm-2">{:__('Member_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-member_id" data-rule="required" data-source="member/index" class="form-control selectpage" name="row[member_id]" type="text" value="{$row.member_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-paid" class="control-label col-xs-12 col-sm-2">{:__('Paid')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-paid" data-rule="required" class="form-control selectpicker" name="row[paid]">
                {foreach name="paidList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.paid"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-paid_fee" class="control-label col-xs-12 col-sm-2">{:__('Paid_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-paid_fee" data-rule="required" class="form-control" step="0.01" name="row[paid_fee]" type="number" value="{$row.paid_fee}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_checkin" class="control-label col-xs-12 col-sm-2">{:__('Is_checkin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_checkin" data-rule="required" class="form-control" name="row[is_checkin]" type="number" value="{$row.is_checkin}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-check_time" class="control-label col-xs-12 col-sm-2">{:__('Check_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[check_time]" type="text" value="{$row.check_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-deposit" class="control-label col-xs-12 col-sm-2">{:__('Deposit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deposit" data-rule="required" class="form-control" step="0.01" name="row[deposit]" type="number" value="{$row.deposit}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-parentid" class="control-label col-xs-12 col-sm-2">{:__('Parentid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-parentid" data-rule="required" class="form-control" name="row[parentid]" type="number" value="{$row.parentid}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
